package com.milhouz.quizzdroid.bean;

public class Response {

	private final int mIndex;
	private final String mResponse;
	private final boolean mIsCorrectResponse;

	public Response(int index, String response) {
		this.mIndex = index;
		this.mResponse = response;
		if (index == 0) {
			mIsCorrectResponse = true;
		} else {
			mIsCorrectResponse = false;
		}
	}

	public int getIndex() {
		return mIndex;
	}

	public String getResponse() {
		return mResponse;
	}

	public boolean isCorrectResponse() {
		return mIsCorrectResponse;
	}

}
